﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A77_重写小案例飞机大战中的玩家和敌人
{
    class Program
    {
        static void Main(string[] args)
        {
            AnimateObject o = new Player();
            Random r = new Random();

            while (o.hp>0)
            {
                Console.ReadLine();//暂停
                o.Damage(r.Next(1,5));
            }
        }
    }
}
